package com.qf.homework.service;

import com.qf.homework.entity.User;

import java.sql.SQLException;

public interface UserService {
    User login(String username, String password) throws SQLException;

    int register(String username, String password) throws SQLException;
}
